package com.atguigu.mapper;

import com.atguigu.entity.EduCourse;
import com.atguigu.entity.frontvo.CourseWebVo;
import com.atguigu.entity.vo.CoursePublishVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author wxc
 * @since 2021-07-04
 */
@Mapper
public interface EduCourseMapper extends BaseMapper<EduCourse> {

    //根据课程id查询课程的全部信息
    CoursePublishVo getPublishCourseInfo(String courseId);

    /**根据课程id，编写sql语句查询课程信息**/
    CourseWebVo getBaseCourseInfo(String courseId);
}
